<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>增加客户</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/res/layui/css/layui.css" media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <script src="/res/layui/layui.js" charset="utf-8"></script>
    <script src="/res/js/addClient.js"></script>
    <script src="/res/js/tools.js"></script>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>客户信息维护</legend>
</fieldset>
<form class="layui-form" action="" lay-filter="example" >
    <input type="hidden" name="clientId" id="clientId"> <!-- 加一个隐藏的主键ID-->
    <div class="layui-form-item">
        <label class="layui-form-label">客户姓名</label>
        <div class="layui-input-inline">
            <input type="text" name="clientName" lay-verify="clientName" autocomplete="off" placeholder="请输入姓名"
                   class="layui-input">
        </div>
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-inline">
            <input type="text" name="clientTel" lay-verify="clientTel" autocomplete="off" placeholder="请输入联系方式"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">客户密码</label>
        <div class="layui-input-inline">
            <input type="text" name="clientPwd" lay-verify="clientPwd" autocomplete="off" placeholder="清输入密码"
                   class="layui-input">
        </div>
        <label class="layui-form-label">家庭住址</label>
        <div class="layui-input-inline">
            <input type="text" name="clientAddress" lay-verify="clientAddress" autocomplete="off" placeholder="请输入家庭住址"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-input-block">
        <button type="button" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
        <button type="button" class="layui-btn layui-btn-primary" id="close_btu">关闭</button>
    </div>
    </div>
</form>
</body>
</html>